package com.laf.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;



public class Notice implements Serializable {

  public static int LOST=0;
  public static int FOUND=1;

  private String noticeId;
  private String title;
  private String cateId;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date noticeTime;
  private String scopeId;
  private String location;
  private String describe;
  private String image1;
  private String image2;
  private String image3;
  private String linkMan;
  private String phone;
  private String qq;
  private String email;
  private String type;
  private String status;
  private String display;
  private Scope scope;
  private Category cate;

  @DateTimeFormat(pattern="yyyy-MM-dd")
  private Date lowTime;
  @DateTimeFormat(pattern="yyyy-MM-dd")
  private Date hiTime;

  public Notice() {
  }

  public Notice(String noticeId, String title, String cateId, Date noticeTime, String scopeId, String location, String describe, String image1, String image2, String image3, String linkMan, String phone, String qq, String email, String type, String status, String display, Scope scope, Category cate, Date lowTime, Date hiTime) {
    this.noticeId = noticeId;
    this.title = title;
    this.cateId = cateId;
    this.noticeTime = noticeTime;
    this.scopeId = scopeId;
    this.location = location;
    this.describe = describe;
    this.image1 = image1;
    this.image2 = image2;
    this.image3 = image3;
    this.linkMan = linkMan;
    this.phone = phone;
    this.qq = qq;
    this.email = email;
    this.type = type;
    this.status = status;
    this.display = display;
    this.scope = scope;
    this.cate = cate;
    this.lowTime = lowTime;
    this.hiTime = hiTime;
  }

  @Override
  public String toString() {
    return "Notice{" +
            "noticeId='" + noticeId + '\'' +
            ", title='" + title + '\'' +
            ", cateId='" + cateId + '\'' +
            ", noticeTime=" + noticeTime +
            ", scopeId='" + scopeId + '\'' +
            ", location='" + location + '\'' +
            ", describe='" + describe + '\'' +
            ", image1='" + image1 + '\'' +
            ", image2='" + image2 + '\'' +
            ", image3='" + image3 + '\'' +
            ", linkMan='" + linkMan + '\'' +
            ", phone='" + phone + '\'' +
            ", qq='" + qq + '\'' +
            ", email='" + email + '\'' +
            ", type='" + type + '\'' +
            ", status='" + status + '\'' +
            ", display='" + display + '\'' +
            ", scope=" + scope +
            ", cate=" + cate +
            ", lowTime=" + lowTime +
            ", hiTime=" + hiTime +
            '}';
  }

  public String getNoticeId() {
    return noticeId;
  }

  public void setNoticeId(String noticeId) {
    this.noticeId = noticeId;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getCateId() {
    return cateId;
  }

  public void setCateId(String cateId) {
    this.cateId = cateId;
  }

  public Date getNoticeTime() {
    return noticeTime;
  }

  public void setNoticeTime(Date noticeTime) {
    this.noticeTime = noticeTime;
  }

  public String getScopeId() {
    return scopeId;
  }

  public void setScopeId(String scopeId) {
    this.scopeId = scopeId;
  }

  public String getLocation() {
    return location;
  }

  public void setLocation(String location) {
    this.location = location;
  }

  public String getDescribe() {
    return describe;
  }

  public void setDescribe(String describe) {
    this.describe = describe;
  }

  public String getImage1() {
    return image1;
  }

  public void setImage1(String image1) {
    this.image1 = image1;
  }

  public String getImage2() {
    return image2;
  }

  public void setImage2(String image2) {
    this.image2 = image2;
  }

  public String getImage3() {
    return image3;
  }

  public void setImage3(String image3) {
    this.image3 = image3;
  }

  public String getlinkMan() {
    return linkMan;
  }

  public void setlinkMan(String linkMan) {
    this.linkMan = linkMan;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getQq() {
    return qq;
  }

  public void setQq(String qq) {
    this.qq = qq;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getDisplay() {
    return display;
  }

  public void setDisplay(String display) {
    this.display = display;
  }

  public Scope getScope() {
    return scope;
  }

  public void setScope(Scope scope) {
    this.scope = scope;
  }

  public Category getCate() {
    return cate;
  }

  public void setCate(Category cate) {
    this.cate = cate;
  }

  public Date getLowTime() {
    return lowTime;
  }


  public void setLowTime(Date lowTime) {
    this.lowTime = lowTime;
  }

  public Date getHiTime() {
    return hiTime;
  }

  public void setHiTime(Date hiTime) {
    this.hiTime = hiTime;
  }
}
